<?php

namespace Admin\Models;

use Illuminate\Database\Eloquent\Model;

class UserModel extends Model
{
    protected $table = 'admin_users';
    
    public function find($id=0){
        if($id>0){
         return DB::table($this->table)->where('id',$id);
        }
        else{
            return false;
        }
    }

}
